notify test: Omit GtkStackPage::position
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Feb 2019 14:04:08 +0000 (09:04 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Feb 2019 14:04:08 +0000 (09:04 -0500)
We can't change positions without a stack.

testsuite/gtk/notify.c

index 238e299150f3ab216ec31db54ae60d31a101e9d8..228195b2d3ef89bd4266a93b3c0956d7e1db86b4 100644 (file)
@@ -555,6 +555,10 @@ test_type (gconstpointer data)
           g_str_equal (pspec->name, "visible-child-name"))
         continue;
 
+      if (pspec->owner_type == GTK_TYPE_STACK_PAGE && /* Can't change position without a stack */
+          g_str_equal (pspec->name, "position"))
+        continue;
+
       if (pspec->owner_type == GTK_TYPE_POPOVER_MENU &&
           g_str_equal (pspec->name, "visible-submenu"))
         continue;